
package com.chongchong.flow.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowEntry;
import com.chongchong.flow.vo.FlowEntryVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 */
public class FlowEntityWrapper extends BaseEntityWrapper<FlowEntry, FlowEntryVo> {

    public static FlowEntityWrapper build() {
        return new FlowEntityWrapper();
    }

	@Override
	public FlowEntryVo entityVO(FlowEntry flowEntry) {
		FlowEntryVo flowEntryVo = BeanUtil.copy(flowEntry, FlowEntryVo.class);

		return flowEntryVo;
	}

}
